﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TestGeneric
{
    class Program
    {
        static void Main(string[] args)
        {

            Test x = new Test();
            var result1=x.GetBy1<Class1>();
            var result2=x.GetBy2(new Class2());

            Console.ReadLine();
        }
    }
}
